package com.qust.edu.aliyun.utils;

import org.springframework.util.DigestUtils;

/**
 * projectName: ALIYUN
 *
 * @author: 姜龙
 * time: 2021/9/28 19:38
 * description:
 */
public class StringUtilss {
    /**
     * 处理密码，密码加密的工具类
     * @param pwd
     * @return
     */
    public static String dealPassword(String pwd){

        String password = DigestUtils.md5DigestAsHex((pwd).getBytes());

        return password;
    }

}
